﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.netkow.KinecTunes.Kinect;

namespace com.netkow.KinecTunes.CommandLine
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("COMMANDS: All begin with \"Kinect\":");
            Console.WriteLine("\"Play, Pause, Stop, Terminate\"");
            Console.WriteLine("\"Play Artist [artist name]\", where [artist name] = any Artist in your iTunes library!");
            Console.WriteLine("\"Play Song [song name]\", where [song name] = any Song in your iTunes library!\n");

            Console.WriteLine("Loading... please wait.");
            Kinector kinector = new Kinector();
            try
            {
                kinector.InitializeKinect();

                Console.WriteLine("Kinect & iTunes ready... start saying commands! (Press Enter to Quit)");
            }
            catch (InvalidOperationException)
            {
                Console.WriteLine("Kinect not found - reconnect it, press Enter to quit, and try again.");
            }

            Console.ReadLine();
        }
    }
}
